package com.jielin.handling.entity.suspectandcase;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SuspectAndCase {
    private String id;

    private String name;

    private String formerName;

    private String nickname;

    private Byte sex;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date dateOfBirth;

    private String suspectState;//人员状态

    private String type;//办案类型(0只能办案，1常规办案)

    private Byte age;

    private String educate;

    private String nation;

    private String occupation;

    private String phone;

    private String nationality;

    private String isDeputy;

    private String politicalFace;

    private String household;

    private String workUnit;

    private String address;

    private String illegalRecord;

    private String filedPersonnel;

    private String filedName;

    private String filedIdValue;

    private String filedPhone;

    private String filedHousehold;

    private String handleUnitCode;

    private String caseCode;

    private String caseName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date crimeTime;

    private String caseDetails;

    private String askingPeople;

    private String askingPeopleTwo;

    private String noteTaker;

    private String askSite;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date askStartDate;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date askEndDate;

    private Integer frequencyOfEnquiry;

    private String objectOfInquiry;

    private String gotoType;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;

    private String idType;

    private String idValue;

    private String policeId;

    private String personnelType;

    private String headPhoto;

    private  String virtualId;

    private String cause;

    private String personnelOther;

    private String isIntelligence;



}